package com.example.wancaibooking.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.wancaibooking.service.ServiceDatabaseBackup;

public class BootStartReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Intent serviceIntent = new Intent(context, ServiceDatabaseBackup.class);
        context.startService(serviceIntent);
    }
}